package com.ltx.blog_ltx.entity.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Blog {
    private int blogId;
    private String blogMd;
    private String blogTitle;
    private int pageView;
    private int blogCollect;
    private int blogLike;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    private int blogRemarkid;
    private int userId;
    private int blogSortid;
    private int status;
    private String blogNote;
}
